//
// ***********************************************
// *    ___________   ___________  __      __    *
// *   |______  __/  /_____  ___/  \ \    / /    *
// *         / /          / /       \ \  / /     *
// *        / /          / /         \ \/ /      *
// *       / /          / /           \  /       *
// *      / /______    / /            / /        *
// *     /________/   /_/            /_/         *
// *                                             *
// ***********************************************
//
//   NSTimer+Extension.m
//   InterviewDemo
//   
//   Created  by wanmeizty on 26/12/2019
//   Modified by Tiyon  qq 897574226  
//   Copyright © 2019 wanmeizty. All rights reserved.
//   
   

#import "NSTimer+Extension.h"
#import "TimerProxy.h"
@implementation NSTimer (Extension)

+ (NSTimer *)HH_scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo {
    TimerProxy *proxy = [TimerProxy alloc];
    proxy.target = aTarget;
    return [NSTimer scheduledTimerWithTimeInterval:ti target:proxy selector:@selector(fire) userInfo:userInfo repeats:YES];
}
@end
